KaliumWebSocketFactory

class KaliumWebSocketFactory(okHttpClient: <Error class: unknown class>)

Upon request, creates normal WebSocket, but wraps the listener to add logging.

See also

Constructors

Link copied to clipboard
constructor(okHttpClient: <Error class: unknown class>)

Types

Link copied to clipboard
inner class WrapperListener(wrappedListener: <Error class: unknown class>)

Wraps the provided wrappedListener, keeping the normal behaviour, but using kaliumUtilLogger to log all operations.

Functions

Link copied to clipboard
open fun newWebSocket(request: <Error class: unknown class>, listener: <Error class: unknown class>): <Error class: unknown class>